package com.example.service.impl;

import com.example.dao.GradeMapper;
import com.example.domain.Grade;
import com.example.service.GradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by xiaoyuan on 2017/12/1.
 */
@Service
public class GradeServiceImpl implements GradeService{
    @Autowired
    private GradeMapper gradeMapper;
    @Override
    public List<Grade> queryGradeList(){
        return  gradeMapper.queryGradeList();
    }
}
